﻿using System.Collections.Generic;
using UnityEngine;
using static MrPP.SerriedCabinet.CabinetGroup;

namespace MrPP.SerriedCabinet
{
    public abstract class CheckViewAbstract : MonoBehaviour
    {
        [SerializeField]
        protected ICheckReceiver _receiver;
        public void setReceiver(ICheckReceiver receiver) {
            _receiver = receiver;
        }
        public abstract void onTab(int oldValue, int newValue);
        //public Action<int, int> onTab;


        
        public abstract void onPage(int oldValue, int newValue);
       // public Action<int, int> onPage;


        public abstract void onState(CheckPost.State oldValue, CheckPost.State newValue);
       //public Action<CheckPost.State, CheckPost.State> onState;

        public abstract void onItems(ItemData[] items);
        //public Action<ItemData[]> onItems;

       // public Action<int, int> onWaitPage;
        public abstract void onWaitPage(int oldValue, int newValue);

        public abstract void onCheckPage(int oldValue, int newValue);
        //public Action<int, int> onCheckPage;

        public abstract void onOtherPage(int oldValue, int newValue);
       // public Action<int, int> onOtherPage;
        public abstract void onCheckList(List<string> list);
       // internal Action<List<string>> onCheckList;
    }
}